home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / utilit~1 / flut39st.zoo / fileutils-3.9 / man / rm.1 < prev    next >
Encoding:
Text File  |  1994-03-26  |  2.4 KB  |  129 lines

  1.  
  2.  
  3.  
  4. RM(1L)                               RM(1L)
  5.  
  6.  
  7. N✓NA✓AM✓ME✓E
  8.        rm - remove files
  9.  
  10. S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
  11.        r✓rm✓m   [-dfirvR]    [--directory]  [--force]  [--interactive]
  12.        [--recursive] [--help] [--version] [--verbose] path...
  13.  
  14. D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
  15.        This manual page    documents the  GNU  version  of     r✓rm✓m.   r✓rm✓m
  16.        removes    each  given file.  By default, it does not remove
  17.        directories.
  18.  
  19.        If a file is unwritable,    the standard input is a    tty,  and
  20.        the _✓-_✓f or _✓-_✓-_✓f_✓o_✓r_✓c_✓e option    is not given, r✓rm✓m prompts the user
  21.        for whether to remove the file.    If the response    does  not
  22.        begin with `y' or `Y', the file is skipped.
  23.  
  24.        GNU  r✓rm✓m,     like every program that uses the getopt function
  25.        to parse    its arguments, lets you     use  the  _✓-_✓-  option  to
  26.        indicate    that all following arguments are non-options.  To
  27.        remove a    file called `-f' in the     current  directory,  you
  28.        could type either
  29.           rm -- -f
  30.        or
  31.           rm ./-f
  32.        The Unix    r✓rm✓m program's use of a single `-' for this purpose
  33.        predates    the development    of the getopt standard syntax.
  34.  
  35.    O✓OP✓PT✓TI✓IO✓ON✓NS✓S
  36.        _✓-_✓d_✓, _✓-_✓-_✓d_✓i_✓r_✓e_✓c_✓t_✓o_✓r_✓y
  37.           Remove  directories  with      `unlink'   instead   of
  38.           `rmdir',    and don't require a directory to be empty
  39.           before trying to unlink it.   Only  works     for  the
  40.           super-user.   Because  unlinking a directory causes
  41.           any files    in the deleted directory to become unref-
  42.           erenced,    it  is    wise to    f✓fs✓sc✓ck✓k the filesystem after
  43.           doing this.
  44.  
  45.        _✓-_✓f_✓, _✓-_✓-_✓f_✓o_✓r_✓c_✓e
  46.           Ignore nonexistent files and never prompt    the user.
  47.  
  48.        _✓-_✓i_✓, _✓-_✓-_✓i_✓n_✓t_✓e_✓r_✓a_✓c_✓t_✓i_✓v_✓e
  49.           Prompt   whether    to  remove  each  file.      If  the
  50.           response does not    begin with `y' or `Y',    the  file
  51.           is skipped.
  52.  
  53.        _✓-_✓r_✓, _✓-_✓R_✓, _✓-_✓-_✓r_✓e_✓c_✓u_✓r_✓s_✓i_✓v_✓e
  54.           Remove the contents of directories recursively.
  55.  
  56.        _✓-_✓v_✓, _✓-_✓-_✓v_✓e_✓r_✓b_✓o_✓s_✓e
  57.           Print the    name of    each file before removing it.
  58.  
  59.        _✓-_✓-_✓h_✓e_✓l_✓p Print  a    usage message on standard output and exit
  60.           successfully.
  61.  
  62.  
  63.  
  64. FSF            GNU File Utilities            1
  65.  
  66.  
  67.  
  68. RM(1L)                               RM(1L)
  69.  
  70.  
  71.        _✓-_✓-_✓v_✓e_✓r_✓s_✓i_✓o_✓n
  72.           Print version information    on standard  output  then
  73.           exit successfully.
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128. FSF            GNU File Utilities            2
  129.